/*
 * @Author: ZephyrGao
 * @Date: 2024-03-01 15:09:24
 * @Description: 
 * Copyright (c) 2024 by ZephyrGao, All Rights Reserved. 
 */
import { isMock } from '@/config/config'
import AxiosUtil from '@/utils/http/axiosUtil'
// axios-mock-adapter 如果在浏览器看不到数据 建议安装浏览器插件axios-mock-adapter
const AxiosHelper = new AxiosUtil({
  timeout: 5000,
  baseURL: isMock ? undefined : import.meta.env.VITE_APP_BASE_URL
})

export default AxiosHelper
